import { MNode } from "./index";
export class TextNode extends MNode {
  isContainer = false;
  text = "";
  constructor(text) {
    super(text);
    this.text = text;
    this.type = "text";
  }
}

export default TextNode;
